import axios from 'axios'

export default {
  url: '/admin/cmn/dict',

  getDicts (id) {
    return axios.post(`${this.url}/findChildrenData/${id}`)
  },
  exportData () {
    location.href = `${this.url}/exportData`
  },
}